import http from '@/util/http'

// 上传文件 type image|video|audio|file
export function upload(file,type) {
  return http.post('/upload/image', {file,type})
}